home *** CD-ROM | disk | FTP | other *** search
-
- defineps PSWfindownedwindow(float x; float y;
- | float *xp; float *yp; unsigned int *window)
- x y Above 0 findwindow
- {
- dup currentowner currentcontext eq
- {
- window yp xp
- }{
- pop pop pop
- 0 window
- } ifelse
- }{
- pop pop pop
- 0 window
- } ifelse
- endps
-
- defineps PSWfindownedwindowBelow(float x; float y; unsigned int theWin
- | float *xp; float *yp; unsigned int *window)
- x y Below theWin findwindow
- {
- dup currentowner currentcontext eq
- {
- window yp xp
- }{
- pop pop pop
- 0 window
- } ifelse
- }{
- pop pop pop
- 0 window
- } ifelse
- endps
-